package org.ht.entity;

public class Column {
	public String eName;
	public String cName;

	@Override
	public String toString() {
		return cName;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}

		if (obj instanceof Column) {
			Column target = (Column) obj;
			boolean isEqual = false;
			if (eName != null) {
				isEqual = eName.equals(target.eName);
			}
			if (cName != null) {
				isEqual = cName.equals(target.cName);
			}

			return isEqual;
		} else {
			return false;
		}

	}
}
